/**
 * 
 */
package com.ffcs.crmd.tsp.server.netty.processor;

import com.ffcs.crmd.tsp.api.dto.netty.RemotingCommand;
import com.ffcs.crmd.tsp.api.netty.INettyProcessor;
import com.ffcs.crmd.tsp.common.netty.ResponseCode;
import com.ffcs.crmd.tsp.server.core.DataBaseHandler;
import com.ffcs.crmd.tsp.server.core.RemotingHandler;

import io.netty.channel.ChannelHandlerContext;

/**
 * 功能说明:
 *
 * @author ZHONGFUHUA
 * 
 * @since 
 *
 */
public class QueryClusterProcessor implements INettyProcessor {
    
    /**
     * 日志
     */
    //private final static Logger             LOG = LoggerFactory.getLogger(LoggerName.RemotingLoggerName);
    
    /**
     * 功能说明:
     * 
     * @param remotingController
     */
    public QueryClusterProcessor(RemotingHandler remotingController, DataBaseHandler dataBaseHandler) {
        // TODO Auto-generated constructor stub
    }
    
    /**
     * 功能说明:
     * 
     * @param ctx
     * @param request
     * @return
     */
    @Override
    public RemotingCommand processRequest(ChannelHandlerContext ctx, RemotingCommand request) {
        RemotingCommand response = RemotingCommand.createResponseCommand(ResponseCode.SUCCESS);
        return response;
    }
    
}
